package com.ztesoft.report.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.ztesoft.report.base.entity.BaseEntity;

/**
 * <p>
 * 字典项
 * </p>
 *
 * @author y3tu
 * @since 2018-06-12
 */
@TableName("${tableQuery.name}")
public class SysDictItem extends BaseEntity<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 字典项标识
     */
	@TableField("dict_item_id")
	private String dictItemId;
    /**
     * 字典编码
     */
	@TableField("dict_code")
	private String dictCode;
    /**
     * 标签
     */
	private String name;
    /**
     * 值
     */
	private String value;
    /**
     * 编码
     */
	private String code;
    /**
     * 扩展属性1
     */
	@TableField("ext_attr1")
	private String extAttr1;
    /**
     * 扩展属性2
     */
	@TableField("ext_attr2")
	private String extAttr2;
    /**
     * 扩展属性3
     */
	@TableField("ext_attr3")
	private String extAttr3;
    /**
     * 排序
     */
	@TableField("seq_num")
	private Integer seqNum;
    /**
     * 描述
     */
	private String remarks;
    /**
     * 创建人
     */
	@TableField("create_by")
	private String createBy;
    /**
     * 创建时间
     */
	@TableField("create_date")
	private Date createDate;
    /**
     * 更新人
     */
	@TableField("update_by")
	private String updateBy;
    /**
     * 更新时间
     */
	@TableField("update_date")
	private Date updateDate;
    /**
     * 删除标识。0：正常，1：删除
     */
	@TableField("status")
	private Integer status;

    /**
     * 用于查询用的
     */
	private String oldDictItemId;


    public String getOldDictItemId() {
        return oldDictItemId;
    }

    public void setOldDictItemId(String oldDictItemId) {
        this.oldDictItemId = oldDictItemId;
    }

    public String getDictItemId() {
		return dictItemId;
	}

	public void setDictItemId(String dictItemId) {
		this.dictItemId = dictItemId;
	}

	public String getDictCode() {
		return dictCode;
	}

	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getExtAttr1() {
		return extAttr1;
	}

	public void setExtAttr1(String extAttr1) {
		this.extAttr1 = extAttr1;
	}

	public String getExtAttr2() {
		return extAttr2;
	}

	public void setExtAttr2(String extAttr2) {
		this.extAttr2 = extAttr2;
	}

	public String getExtAttr3() {
		return extAttr3;
	}

	public void setExtAttr3(String extAttr3) {
		this.extAttr3 = extAttr3;
	}

	public Integer getSeqNum() {
		return seqNum;
	}

	public void setSeqNum(Integer seqNum) {
		this.seqNum = seqNum;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.dictItemId;
	}

	@Override
	public String toString() {
		return "SysDictItem{" +
			", dictItemId=" + dictItemId +
			", dictCode=" + dictCode +
			", name=" + name +
			", value=" + value +
			", code=" + code +
			", extAttr1=" + extAttr1 +
			", extAttr2=" + extAttr2 +
			", extAttr3=" + extAttr3 +
			", seqNum=" + seqNum +
			", remarks=" + remarks +
			", createBy=" + createBy +
			", createDate=" + createDate +
			", updateBy=" + updateBy +
			", updateDate=" + updateDate +
			"}";
	}
}
